package com.fs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 coupon_type
 *
 * @author zh
 * @date 2024-10-17
 */
public class CouponType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 优惠券类型ID
     */
    private Long id;

    /**
     * 优惠券类型名称
     */
    @Excel(name = "优惠券类型名称")
    private String name;

    /**
     * 优惠券类型描述
     */
    @Excel(name = "优惠券类型描述")
    private String description;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("description", getDescription())
                .toString();
    }
}
